package com.ruoyi.project.qyxy.person.service.impl;

import com.ruoyi.project.qyxy.person.domain.ZcPerson;
import com.ruoyi.project.qyxy.person.domain.ZzPerson;
import com.ruoyi.project.qyxy.person.mapper.PersonMapper;
import com.ruoyi.project.qyxy.person.service.IPersonService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class PersonServiceImpl implements IPersonService {

    @Autowired
    private PersonMapper personMapper;

    @Override
    public List<ZcPerson> getZcPersonList(String orgCode) {
        return personMapper.getZcPersonList(orgCode);
    }

    @Override
    public List<ZzPerson> getZzPersonList(String orgCode) {
        return personMapper.getZzPersonList(orgCode);
    }

    @Override
    public List<ZzPerson> getJlPersonList(String orgCode, String regTypeId) {
        return personMapper.getJlPersonList(orgCode,regTypeId);
    }
}
